package org.xielei.designpatterns.structural.decorator;

import lombok.Getter;
import lombok.Setter;

/**
 * HumanFinery
 * 人类服装（抽象装饰）
 *
 * @author xielei
 * @date 2020/6/28
 **/
@Setter
@Getter
public class HumanFinery implements Human {

    private Human human;

    public void decorate(Human human) {
        this.human = human;
    }

    @Override
    public void show() {
        human.show();
    }
}
